<div class="row">
  <div class="col-sm-12">
	    <div>
    		<a href="/admin/summaryorder?per_page=<?php if(!empty($_REQUEST['per_page']))echo $_REQUEST['per_page']?>" class="btn btn-info_01 float_right btn_search">返回</a>
    	</div>
		<div class="space"></div>
        
<table width="100%" class="table table-striped table-bordered table-hover" widtd="100%">
			<tr>
			  <td width="11%" height="30">课程信息：</td>
			  <td width="34%" height="30" align="left">
			  <?php echo $course_cate_list['title'];?>->
			  <?php echo $course_list['title'];?>->
			  <?php echo $course_package_list['title'];?>			  </td>
		      <td width="11%" align="left">园所：</td>
		      <td width="44%" align="left"><?php echo $nursery_list['title']?></td>
		  </tr>
			<tr>
			  <td height="30">支付金额：</td>
			  <td height="30" align="left"><?php echo number_format($order_info['pay_fee'],2)?></td>
			  <td align="left">支付状态：</td>
			  <td align="left"><?php echo $order_status[$order_info['status']]?></td>
		  </tr>
			<tr>
			  <td height="30">支付方式：</td>
			  <td height="30" align="left"><?php echo $order_pay_way[$order_info['pay_way']]?></td>
			  <td align="left">支付时间：</td>
			  <td align="left"><?php echo $order_info['pay_time']?></td>
		  </tr>
			<tr>
			  <td height="30">微信单号：</td>
			  <td height="30" align="left"><?php echo $order_info['transaction_id']?></td>
			  <td align="left">支付IP：</td>
			  <td align="left"><?php echo $order_info['pay_ip']?></td>
		  </tr>
			<tr>
			  <td height="30">总课时：</td>
			  <td height="30" align="left"><?php echo $order_info['hours']?>
			  <?php if(!empty($order_info['give_hours']))echo "(包含赠送课时{$order_info['give_hours']})"?></td>
			  <td align="left">剩余课时：</td>
			  <td align="left"><?php echo $order_info['surplus_hours']?></td>
		  </tr>
	  </table>
	<?php foreach ($book_list as $key=>$val){?>
    <p>约课记录</p>
    <table width="100%" class="table table-striped table-bordered table-hover" widtd="100%">
          <tr>
            <td width="11%" height="30">授课教师：</td>
            <td width="34%" height="30" align="left"><?php echo $val['teacher_name']?></td>
            <td width="11%" align="left">上课时间：</td>
            <td width="44%" align="left">
            <?php echo $val['book_date']?>&nbsp;&nbsp;
            <?php echo $val['book_date_start']?> - 
            <?php echo $val['book_date_end']?>
            </td>
          </tr>
          <tr>
            <td height="30">状态：</td>
            <td height="30" align="left"><?php echo $book_status[$val['status']]?></td>
            <td align="left">学生名称：</td>
            <td align="left"><?php echo $val['baby_name']?></td>
          </tr>
          <tr>
            <td height="30">上课地址：</td>
            <td height="30" align="left"><?php echo $val['address']?></td>
            <td align="left">手机号：</td>
            <td align="left"><?php echo $val['link_mobile']?></td>
          </tr>
          <tr>
            <td height="30">用户评价：</td>
            <td height="30" colspan="3" align="left"><?php echo $val['evaluate_message']?></td>
          </tr>
        </table>
       <?php }?>
	    <p>&nbsp;</p>
  </div>
</div>
<!--content-->